<#macro webpage title='' pageJs="" nav=true>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title><#if !(title??) || title==''>myPage<#else>${title?html}</#if></title>
    <#--css start-->
    <link href="${base}/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="${base}/css/site.css${currentVersion}" rel="stylesheet">
    <#--css end-->

    <#--js start-->
    <script src="${base}/js/lib/jquery.min.js"></script>
    <script src="${base}/bootstrap/js/bootstrap.min.js"></script>
    <script src="${base}/js/lib/layer/layer.js"></script>
    <script>
        var baseUri = "${base}";
    </script>
    <#--js end-->
</head>
<body>
    <#--<#if nav && (!isWechatLogin?? || isWechatLogin) >
        <#include "../nav.ftl">
    </#if>-->
    <#--content start-->
    <#nested>
    <#--content end-->
    <#if pageJs?? && pageJs?has_content>
        <script src="${base}/js/${pageJs}${currentVersion}"></script>
    </#if>
</body>
</html>
</#macro>